import Bar from "../../components/Bar";
import "./index.scss";

function Home() {
  return (
    <div className="Home">
      <Bar
        title="前端主流框架使用满意度"
        xData={["react", "vue", "angular"]}
        yData={[130, 100, 50]}
        style={{ width: 600, height: 400 }}
        bar="bar"
      />
      <Bar
        title="后端主流框架使用满意度"
        xData={["java", "php", "node"]}
        yData={[120, 90, 100]}
        style={{ width: 600, height: 400 }}
        bar="line"
      />
    </div>
  );
}

export default Home;
